package com.hurl.library.http;

import com.hurl.library.exception.BaseException;

public class HttpException extends BaseException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4515357477584975815L;

	private int statusCode;
	public HttpException(int statusCode,String message){
		super(message);
		this.statusCode = statusCode;
	}
	public HttpException(String message) {
		super(message);
	}

	public int getStatusCode(){
		return this.statusCode;
	}
	public HttpException(String message, Throwable cause) {
		super(message, cause);
	}

}
